isHttpOnly

open fun isHttpOnly(): Boolean

Returns true if the cookie is considered HTTP only. It means that the cookie contains the HttpOnly attribute and should not be accessible from JavaScript.